package com.py.credit.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.py.credit.entity.Column;
import com.py.credit.entity.ErrorData;
import com.py.credit.entity.SysUser;
import com.py.credit.entity.Table;
import com.py.credit.entity.TableResult;
import com.py.framework.core.common.Page;

public interface ErrorDataDao {

	Integer getcontentId();

	void deleteErrorData(
			@Param(value="tableId")Integer tableId, 
			@Param(value="list")List<String> list,
			@Param(value="batchIds")List<String> batchIds);

	TableResult getTableColumns(
			@Param(value="tableId")Integer tableId, 
			@Param(value="contentId")Integer contentId,
			@Param(value="tipId")String tipId);

	List<ErrorData> getErrorDataListForTableId(@Param(value="tableId")Integer tableId,@Param(value="dataId") int dataId);

	List<Map<String, Object>> getTableListForPage(
			@Param(value="tableName")String tableName, 
			@Param(value="startTime")String startTime,
			@Param(value="endTime")String endTime,
			@Param(value="page")Page page,
			@Param(value = "deptId") Long deptId);

	Table selectByPrimaryKey(@Param(value="tableId")Integer tableId);

	List<Column> getListByTableId(@Param(value="tableId")Integer tableId);

	void deleteErrorData(@Param(value = "tableName") String tableName,@Param(value = "list")List<String> list);

	void updataErrorData(@Param(value = "tableId") int tableId, @Param(value = "dataId") int dataId,
			@Param(value = "status") String status);


	void updateTFcount(@Param(value = "batchId")String batchId);

}
